<html><head><title>@@cmpstate</title><meta name="HandheldFriendly" content="True"></head><body>Returns the current mode of Adaptive Server in a high availability environment. Values 0:Single server, 2:Secondary normal, 3:Secondary suspended, 4:Secondary faulover, 5:Secondary failback, 7:Primary normal, 8:Primary suspended, 9:Primary failback, 11:Symetric normal, 12:Symetric failover, 13:Symetric suspended, 14: Symetric failback, for any negative value: check your license deamon.<br><br><b>@@cmpstate</b></body></html>